<include file="public/header" title="团队管理" body=""/>
<include file="public/header_nav" title="团队管理" href="javascript:history.back(-1)"/>
<div class="application-record">
    <div class="maleri30">
        <ul class="re_tit">
            <li class="li1" style="width:10%;font-size: 18px;"><span>ID</span></li>
            <li class="li2" style="width:23%;font-size: 18px;"><span>用户账号</span></li>
            <li class="li3" style="width:23%;font-size: 18px;"><span>等级</span></li>
            <li class="li1" style="width:12%;font-size: 18px;"><span>直推用户</span></li>
           <!--  <li class="li1" style="width:10%;font-size: 18px;"><span>个人</span></li> -->
            <li class="li1" style="width:10%;font-size: 18px;"><span>总业绩</span></li>
            <li class="li1" style="width:18%;font-size: 18px;"><span>大市场业绩</span></li>
        </ul>
        <foreach name="list" item="v">
            <ul>
                <li class="li1" style="width:10%;font-size: 18px;"><span>{$v[user_id]}</span></li>
                <li class="li2" style="width:23%;font-size: 18px;overflow: hidden;"><span>{$v[nickname]}</span></li>
                <li class="li3" style="width:23%;font-size: 18px;"><span class="red" style="text-align: center;">
                    <if condition="$v[level] eq 1">注册会员</if>
                    <if condition="$v[level] eq 2">VIP会员</if>
                    <if condition="$v[level] eq 3">经销商</if>
                    <if condition="$v[level] eq 4">代理商</if>
                    <if condition="$v[level] eq 5">合伙人</if>
                    <if condition="$v[level] eq 6">股东</if>
                </span></li>
                <li class="li1" style="width:12%;font-size: 18px;"><span style="text-align: center;">{$v[count]}</span></li>
                <!-- <li class="li1" style="width:10%;font-size: 18px;"><span style="text-align: center;">{$v[user_amount]}</span></li> -->
                <li class="li1" style="width:10%;font-size: 18px;"><span style="text-align: center;">{$v[amount]}</span></li>
                <li class="li1" style="width:18%;font-size: 18px;"><span style="text-align: center;">{$v[max]}</span></li>
            </ul>
        </foreach>
    </div>
    <div id="getmore"  style="font-size:.32rem;text-align: center;color:#888;padding:.25rem .24rem .4rem; clear:both;display: none">
        <a >已显示完所有记录</a>
    </div>
    <script type="text/javascript" src="__STATIC__/js/sourch_submit.js"></script>
</div>
<script>
    var page = 1;
    function ajax_sourch_submit(){
        page++;
        $.ajax({
            type:'GET',
            url:'/index.php/Mobile/User/withdrawals_list/is_ajax/1/p/'+page,
            success:function(data){
                if($.trim(data)==''){
                    $('#getmore').show();
                    return false;
                }else{
                    $('.maleri30').append(data);
                }
            }
        });
    }
</script>
</body>
</html>
